package com.xxx.mall.service.impl;

import com.xxx.mall.model.ShopUser;
import com.xxx.mall.mapper.ShopUserMapper;
import com.xxx.mall.service.ShopUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxx.mall.vo.ShopUserInfoVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商家用户 服务实现类
 * </p>
 *
 * @author 邢晨旭
 * @since 2023-11-16
 */
@Service
public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> implements ShopUserService {

    @Override
    public ShopUserInfoVO getByUserId(Long userId,Long shopId) {
        return baseMapper.queryByUserId(userId,shopId);
    }
}
